<?php
foreach($aLatest as &$al){
    if(!property_exists($al, 'sale_flg') || $al->sale_flg!=ON) {
        $al->product_new = ON;
    }
}
$aProduct = $aLatest;
?>

<div class="features_items list-product"><!--features_items-->
	<h2 class="title text-center">Sản phẩm</h2>
    <a class="view-more" href="<?php echo page_url(PRODUCT_SLUG); ?>">Xem tất cả <i class="fa fa-sort-alpha-asc"></i></a>
    <?php foreach($aProduct as $p) { get_front_theme_item('items/product-item', array('p'=>$p)); } ?>
</div>
<!--features_items-->